package com.changcheng.service;

import com.changcheng.pojo.Picture;
import com.changcheng.utils.R;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface PictureService {


    void add(Picture picture);

    R delete(Integer id);

    R update(Picture picture);

    List<Picture> select(Integer pageNum,Integer pageSize);
    List<Picture> findIdPicture(Integer id);
}
